import { IsOptional, IsString } from 'class-validator'

export class CacheUserDto {
  @IsString()
  declare username: string

  @IsString()
  declare discriminator: string

  @IsString()
  @IsOptional()
  declare avatar?: string

  @IsString()
  declare bot: boolean
}
